FROM centos:7
RUN yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel && \
    echo Asia/Shanghai >/etc/timezone && \
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&\
    yum clean all
COPY sky-0.0.1-SNAPSHOT.jar /	
ENV LANG en_US.utf8
ENV LC_ALL en_US.utf8
ENTRYPOINT /usr/bin/java -jar /sky-0.0.1-SNAPSHOT.jar 2>&1

